<?php echo $header; ?>
<div id="content">
  <div class="breadcrumb">
    <?php foreach ($breadcrumbs as $breadcrumb) { ?>
    <?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
    <?php } ?>
  </div>
    <?php if ($success) { ?>
  <div class="success"><?php echo $success; ?></div>
  <?php } ?>
<?php echo $shortcut_route;?> 
  <div class="box">
    <div class="heading">
      <h1><img src="view/image/setting.png" alt="" /> <?php echo $heading_title; ?></h1>
      <div class="buttons"><a onclick="location = '<?php echo $cancel; ?>';" class="button"><span><?php echo $button_cancel; ?></span></a></div>
    </div>
    <div class="content">
    
    
     <?php echo $shortcut_module;?> 
      
      <div class="overview">
        <div class="dashboard-heading"><?php echo $text_news_overview; ?></div>
        <div class="dashboard-content">
          <table>
            <tr>
              <td><?php echo $text_total_category; ?></td>
              <td> <a class="button"><span><?php echo $total_category; ?></span></a></td>
            </tr>
             <tr>
              <td colspan="2"> <hr size="1" /></td>
            </tr>
            <tr>
              <td><?php echo $text_total_article; ?></td>
              <td><a class="button"><span><?php echo $total_article; ?></span></a></td>
            </tr>
             <tr>
              <td colspan="2"> <hr size="1" /></td>
            </tr>
            <tr>
              <td><?php echo $text_total_author; ?></td>
              <td><a class="button"><span><?php echo $total_author; ?></span></a></td>
            </tr>
             <tr>
              <td colspan="2"> <hr size="1" /></td>
            </tr>
            <tr>
              <td><?php echo $text_total_download; ?></td>
              <td><a class="button"><span><?php echo $total_download; ?></span></a></td>
            </tr>
             <tr>
              <td colspan="2"> <hr size="1" /></td>
            </tr>
            <tr>
              <td><?php echo $text_total_comment; ?></td>
              <td><a class="button"><span><?php echo $total_comment; ?></span></a></td>
            </tr>      
             <tr>
              <td colspan="2"> <hr size="1" /></td>
            </tr>
            <tr>
              <td><?php echo $text_total_comment_awaiting; ?></td>
              <td><a class="button"><span><?php echo $total_comment_awaiting; ?></span></a></td>
            </tr>       
          </table>
        </div>
      </div>
      
      
      <div class="overview" style="margin-left:10px;">
        <div class="dashboard-heading">Quick Access</div>
        <div class="dashboard-content">
          <table>
            <tr>
              <td><?php echo $text_category; ?>: </td>
              <td>
              <a href="<?php echo $category;?>" class="button"><span>Get List</span></a>
              <a href="index.php?route=news/category/insert&token=<?php echo $this->session->data['token'];?>" class="button"><span>Insert</span></a>
              
              </td>
            </tr>
             <tr>
              <td colspan="2"> <hr size="1" /></td>
            </tr>
            <tr>
              <td><?php echo $text_article; ?>:</td>
              <td>
              
              <a href="<?php echo $article;?>" class="button"><span>Get List</span></a>
              <a href="index.php?route=news/article/insert&token=<?php echo $this->session->data['token'];?>" class="button"><span>Insert</span></a>
              
              
              </td>
            </tr>
             <tr>
              <td colspan="2"> <hr size="1" /></td>
            </tr>
            <tr>
              <td><?php echo $text_author; ?>:</td>
              <td>
              <a href="../index.php?route=news/author" target="_blank" class="button"><span>View all author</span></a>
              <a href="<?php echo $author;?>" class="button"><span>Get List</span></a>
              <a href="index.php?route=news/author/insert&token=<?php echo $this->session->data['token'];?>" class="button"><span>Insert</span></a>
              
              
              </td>
            </tr>
             <tr>
              <td colspan="2"><hr size="1" /></td>
            </tr>
            <tr>
              <td><?php echo $text_download; ?>:</td>
              <td>
              <a href="<?php echo $download;?>" class="button"><span>Get List</span></a>
              <a href="index.php?route=news/download/insert&token=<?php echo $this->session->data['token'];?>" class="button"><span>Insert</span></a>
              
              </td>
            </tr>
             <tr>
              <td colspan="2"> <hr size="1" /></td>
            </tr>
            <tr>
              <td><?php echo $text_comment; ?>:</td>
              <td><a href="<?php echo $comment;?>" class="button"><span>Get List</span></a>
              <a href="index.php?route=news/comment/insert&token=<?php echo $this->session->data['token'];?>" class="button"><span>Insert</span></a>
              </td>
            </tr>  
            </tr>
             <tr>
              <td colspan="2"> <hr size="1" /></td>
            </tr>
            <tr>
              <td>Support:</td>
              <td>
              <a target="_blank" href="http://www.opencart.com/index.php?route=extension/extension/info&extension_id=8806" class="button"><span>Opencart Extension</span></a>
              <a target="_blank" href="http://www.opencartplus.com" class="button"><span>OpencartPlus.com</span></a>


              </td>
            </tr>  
          </table>
        </div>
      </div>
      
    </div>
  </div>
</div>
<script type="text/javascript"><!--
$('.breadcrumb .opencartplus').remove();
$('title').html('Easy News Setting');
//--></script> 
<?php echo $footer; ?>